#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main() {
	int a[10] = {0}; int i = 0, max = 0; int c=0,b=0;
	for (c; c <= 10; c++)
	{
		scanf("%d", &a[c]);//scanf("%s",a);
	   }

	for (i; i < 10; i++)
	{
		if (a[i] > max)max = a[i];
	}
	printf("%d", max);
}










